package dmxlightcontroller;

import com.gui.mainwindow.MainWindow;
import com.swingson.SwingsonGuiBuilder;
import java.io.FileNotFoundException;
import java.io.PrintStream;
import javax.swing.SwingUtilities;

/**
 *
 * @author sad
 */
public class DmxLightController {

    public static void main(String[] args) throws FileNotFoundException {
         System.setOut(new PrintStream("./out.txt"));
        System.setErr(new PrintStream("./err.txt"));
        SwingsonGuiBuilder.setWindowsLookAndFeel();
        SwingUtilities.invokeLater(new Runnable() {
            @Override
            public void run() {
                MainWindow window = new MainWindow();
                window.pack();
                window.setLocationRelativeTo(null);
                window.setVisible(true);
            }
        });
    }

}
